package cc.angis.xiugallery.data;

import java.util.ArrayList;
import java.util.List;

public class FolderData {
	private List<Long> thumbnailList;
	
	private String name;
	
	private String id;
	
	private int count;
	
	public FolderData(String id, String name){
		this.id = id;
		this.name = name;
	}
	
	public FolderData(String id, String name,int count){
		this.id = id;
		this.name = name;
		this.count = count;
	}

	public List<Long> getThumbnailList() {
		return thumbnailList;
	}

	public void setThumbnailList(List<Long> thumbnailList) {
		this.thumbnailList = thumbnailList;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public void addThumbnail(Long thumbnailId){
		if (thumbnailList == null)
			thumbnailList = new ArrayList<Long>();
		thumbnailList.add(thumbnailId);
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}
}
